﻿using Hx.Components.Models;

namespace Hx.Components
{
    public partial class QuoteRow
    {
        public QuoteRow(QuoteModel quote)
        {
            InitializeComponent();
            QuoteContent.Text = quote.QuoteContent;

            Bottom.Text = quote.AuthorName + ", " + quote.CreateTime.ToString("yyyyMMdd HH:mm:ss");
        }
    }
}